﻿Public Class SatıcıBul

    Private Sub FirmalarBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FirmalarBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.FirmalarBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.SatıcıFirmaLookUpDataSet)

    End Sub

    Private Sub SatıcıBul_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'SatıcıFirmaLookUpDataSet.Firmalar' table. You can move, or remove it, as needed.
        Me.FirmalarTableAdapter.FillSatıcı(Me.SatıcıFirmaLookUpDataSet.Firmalar)

    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        SozlesmeGiris.Show()
        SozlesmeGiris.SozlesmeDetayTableAdapter.FillBySatıcıID(SozlesmeGiris.SozlesmeGirisDataSet.SozlesmeDetay, SatıcıFirmaID:=Me.FirmaIDTextBox.Text)
        Me.Close()
    End Sub
End Class